package com.tarena.lbs.basic.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

//指定SpringBoot启动类扫描的配置
@SpringBootApplication(
        scanBasePackages ={
                "com.tarena.lbs.basic.web",
                "com.tarena.lbs.common.security",
                "com.tarena.lbs.*.basic"
        })
@ImportResource("classpath:dubbo.xml")
//Mapper接口扫描注解
@MapperScan("com.tarena.lbs.basic.web.dao.mapper")
public class BasicWeb {
    //标准的springboot启动方法main
    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(BasicWeb.class, args);
    }
}
